package com.fyl.pattern.adapter.class_adapter;

/**
 * 计算机类
 */
public class Computer {

    //从sd卡中读取数据
    public String readSD(SDCard sdCard) {
        if(null==sdCard){
            throw new NullPointerException("sdCard is null");
        }
        return sdCard.readSD();
    }
}
